import { createApp } from 'vue'
import App from './App.vue'

import router from './router.js'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import axios from 'axios'

const app = createApp(App)

// 设置 Axios 的基础地址
axios.defaults.baseURL = 'http://127.0.0.1:8081/api'

app.config.globalProperties.$axios = axios


app.use(ElementPlus)
app.use(router)


app.mount('#app')
